package cn.honglian.org.domain;

import cn.honglian.basic.domain.BaseDomain;
import cn.honglian.system.domain.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {

    private String   username;
    private String   email;
    private String   phone;
    private String   salt;
    private String   password;
    private Integer   age;
    private Integer   state;
    private Long   departmentId;
    private Long    logininfoId;
    private  Long  shopId;
    private Department dept;

    private Shop shop;
    private Department dept1;

    private List<Long> roles;



}
